﻿using System;
using System.Collections.Generic;

namespace IntelligentAgriculture.Domain.Entity
{
	/// <summary>
	/// 羊只采购表
	/// </summary>
    public partial class Purchaseformmodel
    {
		/// <summary>
		/// 主键
		/// </summary>
		public int PurchaseFormId { get; set; }
		/// <summary>
		/// 采购员
		/// </summary>
		public string? Buyer { get; set; }
		/// <summary>
		/// 采购日期
		/// </summary>
		public DateTime? DateOfPurchase { get; set; }
		/// <summary>
		/// 羊只类型(1-种公,2-种母,3-后裔)
		/// </summary>
		public int? SheepType { get; set; }
		/// <summary>
		/// 供应商
		/// </summary>
		public int? VendorSnowId { get; set; }
		/// <summary>
		/// 仓库（羊场总仓库）
		/// </summary>
		public string? Warehouse { get; set; }
		/// <summary>
		/// 单据号
		/// </summary>
		public string? Document { get; set; }
		/// <summary>
		/// 流水号
		/// </summary>
		public string? SerialNumber { get; set; }
		/// <summary>
		/// 批次/耳号（可视耳号）
		/// </summary>
		public string? EarTag { get; set; }
		/// <summary>
		/// 栋舍Id
		/// </summary>
		public int? BuildingId { get; set; }
		/// <summary>
		/// 栋舍名称
		/// </summary>
		public string? BuildingName { get; set; }
		/// <summary>
		/// 转入栏位Id
		/// </summary>
		public int? ColumnId { get; set; }
		/// <summary>
		/// 转入栏位名称
		/// </summary>
		public string? ColumnName { get; set; }
		/// <summary>
		/// 公母（true公 false 母）
		/// </summary>
		public bool? Gender { get; set; }
		/// <summary>
		/// 商品名称
		/// </summary>
		public string? GoodName { get; set; }
		/// <summary>
		/// 标包
		/// </summary>
		public string? LabelPackage { get; set; }
		/// <summary>
		/// 计量单位
		/// </summary>
		public string? UnitOfMeasure { get; set; }
		/// <summary>
		/// 入库数量
		/// </summary>
		public int? InboundQuantity { get; set; }
		/// <summary>
		/// 只均单元（元）
		/// </summary>
		public decimal? AverageUnitOnly { get; set; }
		/// <summary>
		/// 金额
		/// </summary>
		public decimal? Amount { get; set; }
		/// <summary>
		/// 单位折扣（元）
		/// </summary>
		public decimal? UnitDiscounts { get; set; }
		/// <summary>
		/// 调整金额（元）
		/// </summary>
		public decimal? AdjustTheAmount { get; set; }
		/// <summary>
		/// 结算金额（元）
		/// </summary>
		public decimal? SettlementAmount { get; set; }
		/// <summary>
		/// 总重量（公斤）
		/// </summary>
		public decimal? TotalWeight { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string? PurchaseFormDesc { get; set; }
		/// <summary>
		/// 摘要
		/// </summary>
		public int? SummaryEnum { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>
		public string? CreateBy { get; set; }
		/// <summary>
		/// 创建时间（采购日期）
		/// </summary>
		public DateTime? CreateTime { get; set; }
		/// <summary>
		/// 修改人
		/// </summary>
		public string? UpdateBy { get; set; }
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? UpdateTime { get; set; }
		/// <summary>
		/// 是否删除（true已删除 false未删除）
		/// </summary>
		public bool? IsDel { get; set; }
		/// <summary>
		/// 品种
		/// </summary>
		public int? Variety { get; set; }


    }
}
